x = [20, 21, 22, 23, 24]
x.reverse()

print(x)  #[24, 23, 22, 21, 20]